@import '@/styles/index.scss';

.container {
	background-color: $bgc;
}

.openVip-page {
	width: 100%;

	.header {
		position: relative;
		width: 100%;
		height: 260rpx;

		.bg {
			display: block;
			width: 100%;
			height: 100%;
		}

		.user {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			text-align: center;
			font-size: $fsm;
			color: #fff;

			.avatar {
				margin-bottom: 10rpx;

				.image {
					display: inline-block;
					vertical-align: top;
					width: 120rpx;
					height: 120rpx;
				}
			}

			.nick {
				margin-bottom: 10rpx;
			}

			.status {
				color: $fc-t;
			}
		}
	}

	.body {
		background-color: #fff;
		margin-bottom: 20rpx;

		.headlines {
			padding: 20rpx;
			font-size: $fsm;
			color: $fc;
		}

		.list {

			.item {
				display: flex;
				align-items: center;
				padding: 20rpx;
				border-top: 2rpx solid $bdc;

				.content {
					flex: 1;

					.sale {
						text-align: left;
						margin-bottom: 15rpx;

						.text {
							display: inline-block;
							vertical-align: top;
							padding: 5rpx 20rpx;
							color: #fff;
							font-size: $fss;
							background-color: #C71D24;
							border-radius: 40rpx 40rpx 40rpx 0;
						}
					}

					.money {
						margin-bottom: 10rpx;

						.new {
							color: #C71D24;
							margin-left: 20rpx;
						}

						.old {
							color: $fc-t;
							text-decoration: line-through;
							margin-left: 20rpx;
						}
					}

					.profile {
						font-size: $fss;
						color: $fc-t;
					}
				}

				.status {
					width: 200rpx;
					text-align: left;

					.text {
						display: inline-block;
						vertical-align: top;
						padding: 10rpx 20rpx;
						border-radius: 10rpx;
						font-size: $fss;
						background-color: #ed3f14;
						color: #fff;
					}
				}

				.button {

					.btn {
						font-size: $fsm;
						color: #fff;
						border-color: $fc-on;
						border-radius: 40rpx;
						background-color: $fc-on;
					}
				}
			}
		}
	}

	.footer {
		padding: 20rpx 20rpx $pd;
		background-color: #fff;

		.title {
			position: relative;
			padding: 20rpx 0;
			color: $fc;
			text-align: center;
			margin-bottom: 10rpx;

			&::before {
				content: '';
				display: block;
				position: absolute;
				top: 50%;
				left: $pd;
				right: $pd;
				height: 2rpx;
				background-color: $bdc;
			}

			.text {
				display: inline-block;
				vertical-align: top;
				padding: 0 20rpx;
				position: relative;
				background-color: #fff;
			}
		}

		.list {

			.item {
				padding: 10rpx 0;
				margin-bottom: 10rpx;
				font-size: $fss;
				color: $fc-t;
			}
		}
	}
}






